<?php
    require_once("./DButil.php");
    $courseId=$_REQUEST["courseId"];
    $sql="select courseId,courseName,status from t_course where courseId={$courseId} ";
    $arr=query($sql)[0];
    header("Content-Type:application/json;charset=utf-8");
    echo json_encode($arr)

?>